
<?php

	foreach ($aco['Aco']['children'] as $vv){
		$i++;
		//echo("<li><a href='#'>"."controllers/".$v['Aco']['alias']."/".$vv['Aco']['alias']."</a></li>");
		if($vv['Aco']['checked'] == 1)$checked = 'checked';
		else $checked = 'dischecked';
		echo("<li id='lili'><input type='checkbox' value='".$aco['Aco']['alias']."/".$vv['Aco']['alias']."' name='".$aco['Aco']['alias']."/".$vv['Aco']['alias']."' onclick='respondToChangeSub(this, ".$i.")'; $checked/>".__($vv['Aco']['alias'], true)."</li>");
	}
	//$form->hidden('allowSubAroAliasList',array('id'=>'allowSubAroAliasList','value'=>$allowSubAroAliasList));
	echo "<input type='hidden' id='allowSubAcoAliasList_".$aco['Aco']['alias']."'/>";
?>